<h1>Editing ping</h1>

<%= error_messages_for :ping %>

<% form_for(:ping, :url => ping_path(@ping), :html => { :method => :put }) do |f| %>
  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', ping_path(@ping) %> |
<%= link_to 'Back', pings_path %>